<?php

namespace App\Controller\Example;

class SettlementExample extends BaseExample
{
    public $id;// int(11) NOT NULL AUTO_INCREMENT,
    public $uid;// int(11) NOT NULL COMMENT '用户id',
    public $money;// decimal(11,2) NOT NULL COMMENT '结算金额',
    public $state;// tinyint(1) NOT NULL DEFAULT '1' COMMENT '1未结算 2已结算 3结算失败 4业绩更新失败 5奖池更新失败',
    public $no;// varchar(11) NOT NULL COMMENT '单号',
    public $type;// tinyint(1) NOT NULL DEFAULT '1' COMMENT '1用户购买2后台上单',
    public $time;// datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '订单时间',
    public $endtime;// datetime DEFAULT CURRENT_TIMESTAMP COMMENT '结算时间',
    public $total;// decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '发放奖励',
    public $cost;//  decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '成本',
}